<!--
 * @description: 
 * @Author: Islands
 * @Date: 2024-06-22 22:44:15
 * @LastEditTime: 2024-06-23 18:52:42
-->
<script lang="ts" setup>
import { props, Emits } from './props';
import { Search,Refresh } from '@element-plus/icons-vue';
const { size } = defineProps(props);
const emit = defineEmits<Emits>();
const click = (num: number) => {
    emit('click', num);
};
</script>
<template>
    <div style="display: flex; justify-content: right">
        <el-button type="primary" auto-insert-space :icon="Search" :size="size" @click="click(0)">{{$t(`button.query`)}}</el-button>
        <el-button type="info" auto-insert-space  :icon="Refresh" :size="size" @click="click(1)">{{$t(`button.reset`)}}</el-button>
    </div>
</template>
<style lang="scss" scoped></style>
